package com.example.booksales.mapper;

import com.example.booksales.domain.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface OrderMapper {
    public List<Order> getAllOrders();
    public Order selectOrderById(Long orderid);
    public int insertOrder(Order order);
    public int updateOrder(Order order);
    public int deleteOrderById(Long orderid);
}
